home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Whiteline: delta
/
whiteline CD Series - delta.iso
/
tools
/
utils
/
twtcp122
/
pktdrv
/
pktdlink
/
inetcust.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-11-25
|
1KB
|
42 lines
#ifndef _INET_CUST
#define _INET_CUST
#ifndef INADDR
#define INADDR unsigned long
#endif
#define INETCUSTCOOKIE 0x49435354L /* "ICST" */
#define MAXUSERNAME 16
#define MAXNAME 64
#define MAXHOSTNAME 16
typedef struct
{
long magic; /* magic to identify version */
HADDR haddr; /* my ethernet address */
INADDR inaddr; /* my internet address */
short subnetbits; /* number of subnet bits */
short tcpwnd; /* default tcp window size */
short tcplowater;
long netmem; /* size of mem to hold buffers */
char username[MAXUSERNAME];
char hosts[64]; /* path to hosttable */
char passwd[64]; /* path to passwdfile */
short gmtoffs; /* time zone offset */
char tzname[6]; /* timezone name */
INADDR timeserver[2]; /* ip adr of 2 timeservers */
INADDR nameserver[3]; /* ip adr of 3 nameservers */
INADDR gateway; /* ip adr of gateway */
char hostname[MAXHOSTNAME]; /* name of this host */
char domainname[MAXNAME];/* domainname of this host */
char mailhost[MAXNAME]; /* mailhost name */
char loginhost[MAXNAME]; /* default host */
char printhost[MAXNAME]; /* printserver */
char printdev[MAXHOSTNAME]; /* printer device */
long ftpwin; /* size of ftp buffers */
} INETCUST;
#endif